package com.shiyanlou.lesson10.service;

import com.shiyanlou.lesson10.domain.Eat;
import com.shiyanlou.lesson10.domain.PaginationObject;

public interface EatService {

    public Eat getFoodById(int id);

    public int insertFood(Eat food);

    public PaginationObject getAllFood(int pageNum, int pageSize);

    public int updateFood(Eat food);

    public int deleteFood(int id);
}
